package com.ainote.service.impl;

import com.ainote.service.NlpService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 讯飞星火 NLP 示例实现（占位）
 */
@Service("xfireNlpService")
public class XfireNlpService implements NlpService {
    @Override
    public Map<String, Object> extractSummaryAndKeyPoints(String text) throws Exception {
        String summary = "[XFIRE_SUMMARY_PLACEHOLDER]";
        List<String> keyPoints = List.of("示例要点A", "示例要点B");
        return Map.of("summary", summary, "keyPoints", keyPoints);
    }

    @Override
    public Map<String, String> analyze(String transcript) throws Exception {
        return Map.of();
    }
}
